package com.hoshiicloud.user.service.partners;


import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hoshiicloud.common.rpc.Response;
import com.hoshiicloud.user.entity.partners.PlatPartners;

/**
 * <p>
 * 合作伙伴PlatPartners 服务类
 * </p>
 *
 * @author campchen
 * @since 2019-04-28
 */
public interface PlatPartnersService extends IService<PlatPartners> {

    PlatPartners getById(Long id);

    PlatPartners getByOrgcode(String orgcode);

    String insert(PlatPartners entity);

    boolean updateById(PlatPartners entity);

    Response getPage(IPage<PlatPartners> page, Wrapper<PlatPartners> queryWrapper, String key);
}
